package com.zn.enums;

import lombok.Getter;

/*
 * @Author zhaoning
 * @Description 结果返回类
 * @Date 2024/7/17
 */

@Getter
public enum ResultEnum {
    INTERNAL_WRONG(500, "内部错误!");

    private final Integer resultCode;
    private final String resultMsg;

    ResultEnum(Integer resultCode, String resultMsg) {
        this.resultCode = resultCode;
        this.resultMsg = resultMsg;
    }

}
